package shira.person;

import lombok.Data;
import lombok.EqualsAndHashCode;
import shira.seminar.Hug;

/**
 * A POJO of a madrich in the seminar.
 * 
 * @author avian
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Madrich extends Person {

	/* --- Getters / Setters --- */

	/**
	 * Setter for hug.<BR>
	 * <B>Warning:</B> This method should only be used by
	 * {@link Hug#addMadrich(Madrich)}!
	 * 
	 * @param hug
	 *            The hug to set.
	 */
	public void setHug(Hug hug) {
		this.hug = hug;
	}

	/* --- Data Members --- */

	/** Educative's ken. */
	private Ken ken;

	/** The madrich's second ken. */
	private Ken secondKen;
	
	/** Educative's hug. */
	private Hug hug;

	/**
	 * Should an educative from the same ken as the madrich be allowed in the
	 * madrich's hug.
	 */
	private boolean allowSameKen = false;

}
